<?php
/**
 * Created by PhpStorm.
 * User: wliu
 * Date: 14-3-20
 * Time: 上午8:12
 */

class AppEnum {



    /**
     * 需要登录
     * @var int
     */
    public static $ERROR_NOLOGIN = -1;



    /**
     * 订单处理异常
     * @var int
     */
    public static $ERROR_ORDER_ABNORMITY = -4;

    public static $ERROR_OBJ_NOEXIST = -5;



    /**
     * 获得配送方式
     * @param $type
     * @return string
     */
    public static function getDistibution() {
        return "快递DHL(15天到货)";
    }
} 